package com.lg.atp.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.lg.atp.entity.TblDataset;

public interface IDatasetService {

	public List<TblDataset> selectAllDataset(TblDataset dataset);

	public List<TblDataset> selectDataset(TblDataset dataset);
	
	public TblDataset selectDatasetById(Long id);
	
	public void saveDataset(TblDataset dataset);
	
	
    public Long hasSameName(Map<String,Object> map);
	
	public Long hasSameCode(Map<String,Object> map);
	
	public PageInfo<TblDataset> getDatasetByPage(String param,Integer pageIndex,Integer pageSize);
	
	public TblDataset getDatasetWithPara(Long datasetId);
}
